home *** CD-ROM | disk | FTP | other *** search
/ J-Mac Electronics & Home Comics / J-Mac Electronics & Home Comics.iso / mac / J-MAC / G31F / G31_HIRA.Dxr / 00062_ÉCÉâÉXÉgÇÃÉXÉNÉçÅ[ÉãÉ{É^ÉìÇÃì¸ÇÍë÷Ƕ.ls < prev    next >
Encoding:
Text File  |  1998-01-22  |  781 b   |  32 lines

  1. on pushbutton2
  2.   global ga
  3.   repeat while stillDown()
  4.     if rollOver(clickOn()) then
  5.       case ga of
  6.         "L":
  7.           set cname to "scrll"
  8.           set the memberNum of sprite 25 to 22
  9.           testl()
  10.         "D":
  11.           set cname to "scrld"
  12.           set the memberNum of sprite 26 to 24
  13.           testd()
  14.         "R":
  15.           set cname to "scrlr"
  16.           set the memberNum of sprite 27 to 26
  17.           testr()
  18.         "U":
  19.           set cname to "scrlu"
  20.           set the memberNum of sprite 28 to 28
  21.           testu()
  22.       end case
  23.     else
  24.       set the memberNum of sprite 25 to 21
  25.       set the memberNum of sprite 26 to 23
  26.       set the memberNum of sprite 27 to 25
  27.       set the memberNum of sprite 28 to 27
  28.     end if
  29.     updateStage()
  30.   end repeat
  31. end
  32.